<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
*/

$route['default_controller'] = "public/home";
$route['trang-chu'] = "public/home";
$route['404_override'] = '';
$route['gioi-thieu'] = "public/mysurvey";
$route['lien-he'] = "public/contact";
$route['cac-goi-dich-vu-va-gia'] = "public/price";

/* example section */
$route['vi-du/khao-sat-nguoi-tieu-dung'] = "public/examSurvey/consumer";
$route['vi-du/khao-sat-nhan-vien'] = "public/examSurvey/employee";
$route['vi-du/khao-sat-giao-duc'] = "public/examSurvey/education";
$route['vi-du/khao-sat-su-kien'] = "public/examSurvey/event";

/* service section */
$route['dich-vu/mua-cac-phan-hoi-khao-sat'] = "public/services/buyresponse";
$route['dich-vu/tao-khao-sat'] = "public/services/takeSurvey";

/*user*/
$route['dang-nhap'] = 'public/auth/login';
$route['quen-mat-khau'] = 'public/auth/forgot_password';
$route['dang-ky-thanh-vien'] = 'public/auth/signup';
$route['logout'] = 'public/auth/logout';

//Phần member
$route['khao-sat-truc-tuyen'] = "member/home";
$route['tao-khao-sat'] = "member/createsurvey/create";
$route['them-design-khao-sat'] = "member/adddesign/add";
$route['sua-khao-sat/(:num)'] = "member/createsurvey/editSurvey/$1";
$route['tao-cau-hoi-khao-sat/(:num)'] = "member/createsurvey/createquestion/$1/f/f/df/d";
$route['tao-cau-hoi-khao-sat/them/(:num)/([a-z]+)'] = "member/createsurvey/addquestion/$1/$2";
$route['tao-cau-hoi-khao-sat/them/(:num)/([a-z]+)'] = "member/createsurvey/addquestion/$1/$2";
$route['tao-cau-hoi-khao-sat/sua/(:num)/(:num)/([a-z]+)'] = "member/createsurvey/editquestion/$1/$2/$3";
$route['xem-truoc-khao-sat/(:num)'] = "member/createsurvey/review/$1";


/* End of file routes.php */
/* Location: ./application/config/routes.php */